package net.lab1024.sa.admin.module.business.lcy.student.contact.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 联系人 新建表单
 *
 * @Author yangz
 * @Date 2025-10-31 19:00:52
 * @Copyright yangz
 */

@Data
public class LcyStudentContactAddForm {

    @Schema(description = "联系人编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "联系人编号 不能为空")
    private Long contactId;

    @Schema(description = "学生", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "学生 不能为空")
    private Long studentId;

    @Schema(description = "联系人称呼", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "联系人称呼 不能为空")
    private String contactNick;

    @Schema(description = "与学生关系", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "与学生关系 不能为空")
    private String contactRelation;

    @Schema(description = "联系电话", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "联系电话 不能为空")
    private String contactPhone;

}